package control;
import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JButton;
import java.awt.Rectangle;
import javax.swing.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Font;

public class TerminateExam extends JPanel {
	
	public JButton btnBack = new JButton("Back");
	private JTextField textField;
	
	public TerminateExam() {
	    super();
		initialize();
}


private void initialize() {
	
	this.setSize(500, 500);
	this.setLayout(null);
	
	JLabel lblExamId = new JLabel("Exam ID");
	lblExamId.setFont(new Font("Tahoma", Font.PLAIN, 14));
	lblExamId.setHorizontalAlignment(SwingConstants.CENTER);
	lblExamId.setBounds(102, 94, 69, 22);
	add(lblExamId);
	
	textField = new JTextField();
	textField.setBounds(181, 97, 86, 20);
	add(textField);
	textField.setColumns(10);
	
	JButton btnValidate = new JButton("Validate");
	btnValidate.setBounds(323, 96, 89, 23);
	add(btnValidate);
	
	JButton btnTerminate = new JButton("Terminate");
	btnTerminate.setBounds(138, 280, 89, 23);
	add(btnTerminate);
	
	
	btnBack.setBounds(281, 280, 89, 23);
	add(btnBack);

}
}

